package HomeWork3_24;

import java.util.Arrays;
import java.util.Random;

public class HomeWork3_24_2 {
    public static void main(String[] args) {
        char []s = new char[10];
        Random rd = new Random();
        for (int i = 0; i < 10; i++) {
            s[i] = (char)(rd.nextInt(10) + 'a');
        }
        Arrays.sort(s);
        for (int i = 0; i < 10; i++) {
            System.out.println(s[i]);
        }
    }
}
